import { getHostListApi } from '@/service/api/businessApi';
export function hooks() {
  const getHostList = async (params?: any) => {
    const res = await getHostListApi({ pageNo: 1, pageSize: 1000, ...params });
    if (res?.data?.data) return res.data.data;
    return [];
  };

  return {
    getHostList
  };
}
